package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.Dz12328Mapper;
import com.ruoyi.system.domain.Dz12328;
import com.ruoyi.system.service.IDz12328Service;
import com.ruoyi.common.core.text.Convert;

/**
 * 12328省派工单办理Service业务层处理
 * 
 * @author ruoyi
 * @date 2025-04-08
 */
@Service
public class Dz12328ServiceImpl implements IDz12328Service 
{
    @Autowired
    private Dz12328Mapper dz12328Mapper;

    /**
     * 查询12328省派工单办理
     * 
     * @param dezhouGdid 12328省派工单办理主键
     * @return 12328省派工单办理
     */
    @Override
    public Dz12328 selectDz12328ByDezhouGdid(Long dezhouGdid)
    {
        return dz12328Mapper.selectDz12328ByDezhouGdid(dezhouGdid);
    }

    /**
     * 查询12328省派工单办理列表
     * 
     * @param dz12328 12328省派工单办理
     * @return 12328省派工单办理
     */
    @Override
    public List<Dz12328> selectDz12328List(Dz12328 dz12328)
    {
        return dz12328Mapper.selectDz12328List(dz12328);
    }

    /**
     * 新增12328省派工单办理
     * 
     * @param dz12328 12328省派工单办理
     * @return 结果
     */
    @Override
    public int insertDz12328(Dz12328 dz12328)
    {
        return dz12328Mapper.insertDz12328(dz12328);
    }

    /**
     * 修改12328省派工单办理
     * 
     * @param dz12328 12328省派工单办理
     * @return 结果
     */
    @Override
    public int updateDz12328(Dz12328 dz12328)
    {
        return dz12328Mapper.updateDz12328(dz12328);
    }

    /**
     * 批量删除12328省派工单办理
     * 
     * @param dezhouGdids 需要删除的12328省派工单办理主键
     * @return 结果
     */
    @Override
    public int deleteDz12328ByDezhouGdids(String dezhouGdids)
    {
        return dz12328Mapper.deleteDz12328ByDezhouGdids(Convert.toStrArray(dezhouGdids));
    }

    /**
     * 删除12328省派工单办理信息
     * 
     * @param dezhouGdid 12328省派工单办理主键
     * @return 结果
     */
    @Override
    public int deleteDz12328ByDezhouGdid(Long dezhouGdid)
    {
        return dz12328Mapper.deleteDz12328ByDezhouGdid(dezhouGdid);
    }
}
